
local key = KEYS[1]
local value = ARGV[1]

redis.log(redis.LOG_NOTICE, "key=" .. key)
redis.log(redis.LOG_NOTICE, "value=" .. value)

-- Convert the value (a JSON string) to a Lua table
local valueTable = cjson.decode(value)

for k,v in pairs(valueTable) do

        redis.log(redis.LOG_NOTICE, "key=" .. k)
        redis.log(redis.LOG_NOTICE, "value" .. v)


    end



